package cn.yunhe.demo.entity;

import java.io.Serializable;

public class Emp implements Serializable {
    private int id;
    private String name;
    private String job;
    private float sal;

    public Emp() {
    }

    public Emp(int id, String name, String job, float sal) {
        this.id = id;
        this.name = name;
        this.job = job;
        this.sal = sal;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public float getSal() {
        return sal;
    }

    public void setSal(float sal) {
        this.sal = sal;
    }
}
